|
|
On 19 Feb 2003 11:38:32 -0500, Tor Olav Kristensen <tor### [at] hotmailcom>
wrote:
> Yesterday I got the idea that maybe a "camera texture" could
> be useful. So then I sat down and made a macro that can
> produce pigments which changes colors where the camera's
> field of view is.
Apart from mentioned (http://news.povray.org/povray.binaries.images/30539/) a
few posts above user_defined camera type there will be probably another addition
in MegaPOV 1.1 - pigment type called camera_view similiar to old Portal patch.
It isn't the same what you did but no doubts all together (your macros, my
patches) it will be powerful set of tools in designing scenes. Camera_view
pigment will be image_map viewed for specified camera and placed like all images
in <0,0>-<1,1>. So it means:
pigment{
camera_view{
// camera type
location ...
direction ...
angle ...
// and other typical camera parameters
}
}
or
#local MyCamera = camera{ /* typical definition */ }
pigment{ camera_view{ MyCamera } }
So at the same time you can view camera with your macro and view camera_view
placed with my pigment.
No doubts we should coordinate used names becouse doubled CAMERA_VIEW name
applied to significantly different features can confuse in the future.
A lot of good work in your macros, Tor.
ABX
Post a reply to this message
|
|